package io.github.talelin.latticy.service;

import io.github.talelin.latticy.vo.ArticleSummaryVO;
import io.github.talelin.latticy.vo.ArticleVO;
import io.github.talelin.latticy.vo.PageResponseVO;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 */
public interface ArticleService {
    PageResponseVO<ArticleSummaryVO> searchES(String query, Integer from, Integer size) throws IOException;

    ArticleVO getArticle(Integer id) throws IOException;
}
